package com.jari.lg.domain;

import java.util.ArrayList;
import java.util.Date;
import java.util.Iterator;
import java.util.List;

public class ParkingDayExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public ParkingDayExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        protected void addCriterionForJDBCDate(String condition, Date value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value.getTime()), property);
        }

        protected void addCriterionForJDBCDate(String condition, List<Date> values, String property) {
            if (values == null || values.size() == 0) {
                throw new RuntimeException("Value list for " + property + " cannot be null or empty");
            }
            List<java.sql.Date> dateList = new ArrayList<java.sql.Date>();
            Iterator<Date> iter = values.iterator();
            while (iter.hasNext()) {
                dateList.add(new java.sql.Date(iter.next().getTime()));
            }
            addCriterion(condition, dateList, property);
        }

        protected void addCriterionForJDBCDate(String condition, Date value1, Date value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value1.getTime()), new java.sql.Date(value2.getTime()), property);
        }

        public Criteria andParkinglotcodeIsNull() {
            addCriterion("parkingLotCode is null");
            return (Criteria) this;
        }

        public Criteria andParkinglotcodeIsNotNull() {
            addCriterion("parkingLotCode is not null");
            return (Criteria) this;
        }

        public Criteria andParkinglotcodeEqualTo(String value) {
            addCriterion("parkingLotCode =", value, "parkinglotcode");
            return (Criteria) this;
        }

        public Criteria andParkinglotcodeNotEqualTo(String value) {
            addCriterion("parkingLotCode <>", value, "parkinglotcode");
            return (Criteria) this;
        }

        public Criteria andParkinglotcodeGreaterThan(String value) {
            addCriterion("parkingLotCode >", value, "parkinglotcode");
            return (Criteria) this;
        }

        public Criteria andParkinglotcodeGreaterThanOrEqualTo(String value) {
            addCriterion("parkingLotCode >=", value, "parkinglotcode");
            return (Criteria) this;
        }

        public Criteria andParkinglotcodeLessThan(String value) {
            addCriterion("parkingLotCode <", value, "parkinglotcode");
            return (Criteria) this;
        }

        public Criteria andParkinglotcodeLessThanOrEqualTo(String value) {
            addCriterion("parkingLotCode <=", value, "parkinglotcode");
            return (Criteria) this;
        }

        public Criteria andParkinglotcodeLike(String value) {
            addCriterion("parkingLotCode like", value, "parkinglotcode");
            return (Criteria) this;
        }

        public Criteria andParkinglotcodeNotLike(String value) {
            addCriterion("parkingLotCode not like", value, "parkinglotcode");
            return (Criteria) this;
        }

        public Criteria andParkinglotcodeIn(List<String> values) {
            addCriterion("parkingLotCode in", values, "parkinglotcode");
            return (Criteria) this;
        }

        public Criteria andParkinglotcodeNotIn(List<String> values) {
            addCriterion("parkingLotCode not in", values, "parkinglotcode");
            return (Criteria) this;
        }

        public Criteria andParkinglotcodeBetween(String value1, String value2) {
            addCriterion("parkingLotCode between", value1, value2, "parkinglotcode");
            return (Criteria) this;
        }

        public Criteria andParkinglotcodeNotBetween(String value1, String value2) {
            addCriterion("parkingLotCode not between", value1, value2, "parkinglotcode");
            return (Criteria) this;
        }

        public Criteria andDatetimeIsNull() {
            addCriterion("datetime is null");
            return (Criteria) this;
        }

        public Criteria andDatetimeIsNotNull() {
            addCriterion("datetime is not null");
            return (Criteria) this;
        }

        public Criteria andDatetimeEqualTo(Date value) {
            addCriterionForJDBCDate("datetime =", value, "datetime");
            return (Criteria) this;
        }

        public Criteria andDatetimeNotEqualTo(Date value) {
            addCriterionForJDBCDate("datetime <>", value, "datetime");
            return (Criteria) this;
        }

        public Criteria andDatetimeGreaterThan(Date value) {
            addCriterionForJDBCDate("datetime >", value, "datetime");
            return (Criteria) this;
        }

        public Criteria andDatetimeGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("datetime >=", value, "datetime");
            return (Criteria) this;
        }

        public Criteria andDatetimeLessThan(Date value) {
            addCriterionForJDBCDate("datetime <", value, "datetime");
            return (Criteria) this;
        }

        public Criteria andDatetimeLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("datetime <=", value, "datetime");
            return (Criteria) this;
        }

        public Criteria andDatetimeIn(List<Date> values) {
            addCriterionForJDBCDate("datetime in", values, "datetime");
            return (Criteria) this;
        }

        public Criteria andDatetimeNotIn(List<Date> values) {
            addCriterionForJDBCDate("datetime not in", values, "datetime");
            return (Criteria) this;
        }

        public Criteria andDatetimeBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("datetime between", value1, value2, "datetime");
            return (Criteria) this;
        }

        public Criteria andDatetimeNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("datetime not between", value1, value2, "datetime");
            return (Criteria) this;
        }

        public Criteria andParkinglotnameIsNull() {
            addCriterion("parkingLotName is null");
            return (Criteria) this;
        }

        public Criteria andParkinglotnameIsNotNull() {
            addCriterion("parkingLotName is not null");
            return (Criteria) this;
        }

        public Criteria andParkinglotnameEqualTo(String value) {
            addCriterion("parkingLotName =", value, "parkinglotname");
            return (Criteria) this;
        }

        public Criteria andParkinglotnameNotEqualTo(String value) {
            addCriterion("parkingLotName <>", value, "parkinglotname");
            return (Criteria) this;
        }

        public Criteria andParkinglotnameGreaterThan(String value) {
            addCriterion("parkingLotName >", value, "parkinglotname");
            return (Criteria) this;
        }

        public Criteria andParkinglotnameGreaterThanOrEqualTo(String value) {
            addCriterion("parkingLotName >=", value, "parkinglotname");
            return (Criteria) this;
        }

        public Criteria andParkinglotnameLessThan(String value) {
            addCriterion("parkingLotName <", value, "parkinglotname");
            return (Criteria) this;
        }

        public Criteria andParkinglotnameLessThanOrEqualTo(String value) {
            addCriterion("parkingLotName <=", value, "parkinglotname");
            return (Criteria) this;
        }

        public Criteria andParkinglotnameLike(String value) {
            addCriterion("parkingLotName like", value, "parkinglotname");
            return (Criteria) this;
        }

        public Criteria andParkinglotnameNotLike(String value) {
            addCriterion("parkingLotName not like", value, "parkinglotname");
            return (Criteria) this;
        }

        public Criteria andParkinglotnameIn(List<String> values) {
            addCriterion("parkingLotName in", values, "parkinglotname");
            return (Criteria) this;
        }

        public Criteria andParkinglotnameNotIn(List<String> values) {
            addCriterion("parkingLotName not in", values, "parkinglotname");
            return (Criteria) this;
        }

        public Criteria andParkinglotnameBetween(String value1, String value2) {
            addCriterion("parkingLotName between", value1, value2, "parkinglotname");
            return (Criteria) this;
        }

        public Criteria andParkinglotnameNotBetween(String value1, String value2) {
            addCriterion("parkingLotName not between", value1, value2, "parkinglotname");
            return (Criteria) this;
        }

        public Criteria andParkinglottypeIsNull() {
            addCriterion("parkingLotType is null");
            return (Criteria) this;
        }

        public Criteria andParkinglottypeIsNotNull() {
            addCriterion("parkingLotType is not null");
            return (Criteria) this;
        }

        public Criteria andParkinglottypeEqualTo(String value) {
            addCriterion("parkingLotType =", value, "parkinglottype");
            return (Criteria) this;
        }

        public Criteria andParkinglottypeNotEqualTo(String value) {
            addCriterion("parkingLotType <>", value, "parkinglottype");
            return (Criteria) this;
        }

        public Criteria andParkinglottypeGreaterThan(String value) {
            addCriterion("parkingLotType >", value, "parkinglottype");
            return (Criteria) this;
        }

        public Criteria andParkinglottypeGreaterThanOrEqualTo(String value) {
            addCriterion("parkingLotType >=", value, "parkinglottype");
            return (Criteria) this;
        }

        public Criteria andParkinglottypeLessThan(String value) {
            addCriterion("parkingLotType <", value, "parkinglottype");
            return (Criteria) this;
        }

        public Criteria andParkinglottypeLessThanOrEqualTo(String value) {
            addCriterion("parkingLotType <=", value, "parkinglottype");
            return (Criteria) this;
        }

        public Criteria andParkinglottypeLike(String value) {
            addCriterion("parkingLotType like", value, "parkinglottype");
            return (Criteria) this;
        }

        public Criteria andParkinglottypeNotLike(String value) {
            addCriterion("parkingLotType not like", value, "parkinglottype");
            return (Criteria) this;
        }

        public Criteria andParkinglottypeIn(List<String> values) {
            addCriterion("parkingLotType in", values, "parkinglottype");
            return (Criteria) this;
        }

        public Criteria andParkinglottypeNotIn(List<String> values) {
            addCriterion("parkingLotType not in", values, "parkinglottype");
            return (Criteria) this;
        }

        public Criteria andParkinglottypeBetween(String value1, String value2) {
            addCriterion("parkingLotType between", value1, value2, "parkinglottype");
            return (Criteria) this;
        }

        public Criteria andParkinglottypeNotBetween(String value1, String value2) {
            addCriterion("parkingLotType not between", value1, value2, "parkinglottype");
            return (Criteria) this;
        }

        public Criteria andParkingcarnumIsNull() {
            addCriterion("parkingCarNum is null");
            return (Criteria) this;
        }

        public Criteria andParkingcarnumIsNotNull() {
            addCriterion("parkingCarNum is not null");
            return (Criteria) this;
        }

        public Criteria andParkingcarnumEqualTo(Integer value) {
            addCriterion("parkingCarNum =", value, "parkingcarnum");
            return (Criteria) this;
        }

        public Criteria andParkingcarnumNotEqualTo(Integer value) {
            addCriterion("parkingCarNum <>", value, "parkingcarnum");
            return (Criteria) this;
        }

        public Criteria andParkingcarnumGreaterThan(Integer value) {
            addCriterion("parkingCarNum >", value, "parkingcarnum");
            return (Criteria) this;
        }

        public Criteria andParkingcarnumGreaterThanOrEqualTo(Integer value) {
            addCriterion("parkingCarNum >=", value, "parkingcarnum");
            return (Criteria) this;
        }

        public Criteria andParkingcarnumLessThan(Integer value) {
            addCriterion("parkingCarNum <", value, "parkingcarnum");
            return (Criteria) this;
        }

        public Criteria andParkingcarnumLessThanOrEqualTo(Integer value) {
            addCriterion("parkingCarNum <=", value, "parkingcarnum");
            return (Criteria) this;
        }

        public Criteria andParkingcarnumIn(List<Integer> values) {
            addCriterion("parkingCarNum in", values, "parkingcarnum");
            return (Criteria) this;
        }

        public Criteria andParkingcarnumNotIn(List<Integer> values) {
            addCriterion("parkingCarNum not in", values, "parkingcarnum");
            return (Criteria) this;
        }

        public Criteria andParkingcarnumBetween(Integer value1, Integer value2) {
            addCriterion("parkingCarNum between", value1, value2, "parkingcarnum");
            return (Criteria) this;
        }

        public Criteria andParkingcarnumNotBetween(Integer value1, Integer value2) {
            addCriterion("parkingCarNum not between", value1, value2, "parkingcarnum");
            return (Criteria) this;
        }

        public Criteria andTurnoverrateIsNull() {
            addCriterion("turnoverRate is null");
            return (Criteria) this;
        }

        public Criteria andTurnoverrateIsNotNull() {
            addCriterion("turnoverRate is not null");
            return (Criteria) this;
        }

        public Criteria andTurnoverrateEqualTo(Double value) {
            addCriterion("turnoverRate =", value, "turnoverrate");
            return (Criteria) this;
        }

        public Criteria andTurnoverrateNotEqualTo(Double value) {
            addCriterion("turnoverRate <>", value, "turnoverrate");
            return (Criteria) this;
        }

        public Criteria andTurnoverrateGreaterThan(Double value) {
            addCriterion("turnoverRate >", value, "turnoverrate");
            return (Criteria) this;
        }

        public Criteria andTurnoverrateGreaterThanOrEqualTo(Double value) {
            addCriterion("turnoverRate >=", value, "turnoverrate");
            return (Criteria) this;
        }

        public Criteria andTurnoverrateLessThan(Double value) {
            addCriterion("turnoverRate <", value, "turnoverrate");
            return (Criteria) this;
        }

        public Criteria andTurnoverrateLessThanOrEqualTo(Double value) {
            addCriterion("turnoverRate <=", value, "turnoverrate");
            return (Criteria) this;
        }

        public Criteria andTurnoverrateIn(List<Double> values) {
            addCriterion("turnoverRate in", values, "turnoverrate");
            return (Criteria) this;
        }

        public Criteria andTurnoverrateNotIn(List<Double> values) {
            addCriterion("turnoverRate not in", values, "turnoverrate");
            return (Criteria) this;
        }

        public Criteria andTurnoverrateBetween(Double value1, Double value2) {
            addCriterion("turnoverRate between", value1, value2, "turnoverrate");
            return (Criteria) this;
        }

        public Criteria andTurnoverrateNotBetween(Double value1, Double value2) {
            addCriterion("turnoverRate not between", value1, value2, "turnoverrate");
            return (Criteria) this;
        }

        public Criteria andTurnoverIsNull() {
            addCriterion("turnover is null");
            return (Criteria) this;
        }

        public Criteria andTurnoverIsNotNull() {
            addCriterion("turnover is not null");
            return (Criteria) this;
        }

        public Criteria andTurnoverEqualTo(Double value) {
            addCriterion("turnover =", value, "turnover");
            return (Criteria) this;
        }

        public Criteria andTurnoverNotEqualTo(Double value) {
            addCriterion("turnover <>", value, "turnover");
            return (Criteria) this;
        }

        public Criteria andTurnoverGreaterThan(Double value) {
            addCriterion("turnover >", value, "turnover");
            return (Criteria) this;
        }

        public Criteria andTurnoverGreaterThanOrEqualTo(Double value) {
            addCriterion("turnover >=", value, "turnover");
            return (Criteria) this;
        }

        public Criteria andTurnoverLessThan(Double value) {
            addCriterion("turnover <", value, "turnover");
            return (Criteria) this;
        }

        public Criteria andTurnoverLessThanOrEqualTo(Double value) {
            addCriterion("turnover <=", value, "turnover");
            return (Criteria) this;
        }

        public Criteria andTurnoverIn(List<Double> values) {
            addCriterion("turnover in", values, "turnover");
            return (Criteria) this;
        }

        public Criteria andTurnoverNotIn(List<Double> values) {
            addCriterion("turnover not in", values, "turnover");
            return (Criteria) this;
        }

        public Criteria andTurnoverBetween(Double value1, Double value2) {
            addCriterion("turnover between", value1, value2, "turnover");
            return (Criteria) this;
        }

        public Criteria andTurnoverNotBetween(Double value1, Double value2) {
            addCriterion("turnover not between", value1, value2, "turnover");
            return (Criteria) this;
        }

        public Criteria andIncarnumIsNull() {
            addCriterion("inCarNum is null");
            return (Criteria) this;
        }

        public Criteria andIncarnumIsNotNull() {
            addCriterion("inCarNum is not null");
            return (Criteria) this;
        }

        public Criteria andIncarnumEqualTo(Integer value) {
            addCriterion("inCarNum =", value, "incarnum");
            return (Criteria) this;
        }

        public Criteria andIncarnumNotEqualTo(Integer value) {
            addCriterion("inCarNum <>", value, "incarnum");
            return (Criteria) this;
        }

        public Criteria andIncarnumGreaterThan(Integer value) {
            addCriterion("inCarNum >", value, "incarnum");
            return (Criteria) this;
        }

        public Criteria andIncarnumGreaterThanOrEqualTo(Integer value) {
            addCriterion("inCarNum >=", value, "incarnum");
            return (Criteria) this;
        }

        public Criteria andIncarnumLessThan(Integer value) {
            addCriterion("inCarNum <", value, "incarnum");
            return (Criteria) this;
        }

        public Criteria andIncarnumLessThanOrEqualTo(Integer value) {
            addCriterion("inCarNum <=", value, "incarnum");
            return (Criteria) this;
        }

        public Criteria andIncarnumIn(List<Integer> values) {
            addCriterion("inCarNum in", values, "incarnum");
            return (Criteria) this;
        }

        public Criteria andIncarnumNotIn(List<Integer> values) {
            addCriterion("inCarNum not in", values, "incarnum");
            return (Criteria) this;
        }

        public Criteria andIncarnumBetween(Integer value1, Integer value2) {
            addCriterion("inCarNum between", value1, value2, "incarnum");
            return (Criteria) this;
        }

        public Criteria andIncarnumNotBetween(Integer value1, Integer value2) {
            addCriterion("inCarNum not between", value1, value2, "incarnum");
            return (Criteria) this;
        }

        public Criteria andOutcarnumIsNull() {
            addCriterion("outCarNum is null");
            return (Criteria) this;
        }

        public Criteria andOutcarnumIsNotNull() {
            addCriterion("outCarNum is not null");
            return (Criteria) this;
        }

        public Criteria andOutcarnumEqualTo(Integer value) {
            addCriterion("outCarNum =", value, "outcarnum");
            return (Criteria) this;
        }

        public Criteria andOutcarnumNotEqualTo(Integer value) {
            addCriterion("outCarNum <>", value, "outcarnum");
            return (Criteria) this;
        }

        public Criteria andOutcarnumGreaterThan(Integer value) {
            addCriterion("outCarNum >", value, "outcarnum");
            return (Criteria) this;
        }

        public Criteria andOutcarnumGreaterThanOrEqualTo(Integer value) {
            addCriterion("outCarNum >=", value, "outcarnum");
            return (Criteria) this;
        }

        public Criteria andOutcarnumLessThan(Integer value) {
            addCriterion("outCarNum <", value, "outcarnum");
            return (Criteria) this;
        }

        public Criteria andOutcarnumLessThanOrEqualTo(Integer value) {
            addCriterion("outCarNum <=", value, "outcarnum");
            return (Criteria) this;
        }

        public Criteria andOutcarnumIn(List<Integer> values) {
            addCriterion("outCarNum in", values, "outcarnum");
            return (Criteria) this;
        }

        public Criteria andOutcarnumNotIn(List<Integer> values) {
            addCriterion("outCarNum not in", values, "outcarnum");
            return (Criteria) this;
        }

        public Criteria andOutcarnumBetween(Integer value1, Integer value2) {
            addCriterion("outCarNum between", value1, value2, "outcarnum");
            return (Criteria) this;
        }

        public Criteria andOutcarnumNotBetween(Integer value1, Integer value2) {
            addCriterion("outCarNum not between", value1, value2, "outcarnum");
            return (Criteria) this;
        }

        public Criteria andFreecarnumIsNull() {
            addCriterion("freeCarNum is null");
            return (Criteria) this;
        }

        public Criteria andFreecarnumIsNotNull() {
            addCriterion("freeCarNum is not null");
            return (Criteria) this;
        }

        public Criteria andFreecarnumEqualTo(Integer value) {
            addCriterion("freeCarNum =", value, "freecarnum");
            return (Criteria) this;
        }

        public Criteria andFreecarnumNotEqualTo(Integer value) {
            addCriterion("freeCarNum <>", value, "freecarnum");
            return (Criteria) this;
        }

        public Criteria andFreecarnumGreaterThan(Integer value) {
            addCriterion("freeCarNum >", value, "freecarnum");
            return (Criteria) this;
        }

        public Criteria andFreecarnumGreaterThanOrEqualTo(Integer value) {
            addCriterion("freeCarNum >=", value, "freecarnum");
            return (Criteria) this;
        }

        public Criteria andFreecarnumLessThan(Integer value) {
            addCriterion("freeCarNum <", value, "freecarnum");
            return (Criteria) this;
        }

        public Criteria andFreecarnumLessThanOrEqualTo(Integer value) {
            addCriterion("freeCarNum <=", value, "freecarnum");
            return (Criteria) this;
        }

        public Criteria andFreecarnumIn(List<Integer> values) {
            addCriterion("freeCarNum in", values, "freecarnum");
            return (Criteria) this;
        }

        public Criteria andFreecarnumNotIn(List<Integer> values) {
            addCriterion("freeCarNum not in", values, "freecarnum");
            return (Criteria) this;
        }

        public Criteria andFreecarnumBetween(Integer value1, Integer value2) {
            addCriterion("freeCarNum between", value1, value2, "freecarnum");
            return (Criteria) this;
        }

        public Criteria andFreecarnumNotBetween(Integer value1, Integer value2) {
            addCriterion("freeCarNum not between", value1, value2, "freecarnum");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}